﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace LastfmNet.Tests
{
    [TestClass]
    public class EventApiUnitTests
    {
        [TestMethod]
        [Ignore()] // Requires user authentication.
        public void TestAttend()
        {
        }

        [TestMethod]
        public void TestGetAttendees()
        {
            var eventAttendees = Global.Lastfm.Event.GetAttendees(328799);
            foreach (var item in eventAttendees.ItemsList)
            {
                Console.WriteLine(item.Name);
            }
        }

        [TestMethod]
        public void TestGetInfo()
        {
            var @event = Global.Lastfm.Event.GetInfo(328799);
            Console.Out.WriteLine(@event.Title);
        }

        [TestMethod]
        public void TestGetShouts()
        {
            var shouts = Global.Lastfm.Event.GetShouts(328799);
            foreach (var item in shouts.ItemsList)
            {
                Console.WriteLine(item.Date);
            }
        }

        [TestMethod]
        [Ignore()] // Requires user authentication.
        public void TestShare()
        {
        }

        [TestMethod]
        [Ignore()] // Requires user authentication.
        public void TestShout()
        {
        }
    }
}
